package top.bingoz.wanandroid.contract

/**
 * @author su
 * @date 2018/7/29
 * @description
 */
interface Contract {
    interface View {
        fun showloading()

        fun dismissloading()

        fun showError(msg: String?)
    }

    interface Presenter {
        fun attachView(view: Contract.View)

        fun detachView()

        fun destroy()
    }
}